package org.exam.system.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.exam.system.domain.Menu;
import org.exam.system.query.MenuQuery;

import java.util.List;


@Mapper
public interface MenuMapper {
    void add(Menu menu);

    void delete(Long id);

    Menu get(Long id);

    List<Menu> getAll();

    void update(Menu menu);

    void patchDelete(Long[] ids);

    List<Menu> queryPage(MenuQuery menuQuery);

}
